﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Dunnice.BlogIndex.Entity;
using Dunnice.BlogIndex.BLL.Adapter;


namespace Dunnice.BlogIndex.BLL
{
    public class BlogParserFactory
    {
        public static IBlogParser CreateDownloader(BlogServerEnum server)
        {
            switch (server)
            {
                case BlogServerEnum.CnBlogs:
                default:
                    return new CnBlogParser();
            }
        }
    }
}
